ROOT=../..

CC= gcc
CFLAGS= -g -Wall -Wextra -std=c99 -I$(ROOT)/include -I/opt/local/include
LDFLAGS= -std=c99 -L$(ROOT)/lib -lbcl -lm -L/opt/local/lib/

OBJ= pm.o pm_back.o

all: pm pm_back

pm: pm.o
	$(CC) pm.o $(LDFLAGS) -o $@

pm.o: pm.c

pm_back: pm_back.o
	$(CC) pm_back.o $(LDFLAGS) -o $@

pm_back.o: pm_back.c